
public class PLPatternLeftOf extends PLPattern {
	
	public PLPatternLeftOf(){
		super("Left");
	}
	public float ValidateResponse(PLShape query, PLShape response, PLOutShape outBetterMatch){
		
		//returns confidence of 1 if response line is above query line, else 0
		float conf=0;
		
		if(query.GetCenter().x<response.GetCenter().x){
			conf=1;
		}
		else{
			conf=0;
		}		

		return conf;
				
	}
}
